<template>
  <view class="box p-x-32">
    <uv-navbar title="关于我们" placeholder autoBack fixed></uv-navbar>
    <up-parse :content="detail"></up-parse>
  </view>
</template>

<script setup>
import { onMounted, ref } from 'vue';
import { useCounter } from '@/mixins/userHooks';
import { LoginCenterApi } from '../../api/serves';
const { tool } = useCounter();

const detail = ref({});
onMounted(() => {
  queryList();
});
//获取列表
const queryList = async () => {
  let { code, data, msg } = await LoginCenterApi.get_configuration({ type: 10 });
  if (code != 1) return tool.alert(msg);
  detail.value = data.content;
};
</script>

<style lang="less" scoped></style>
